<?php


namespace app\server\model;


use app\index\model\Base;

class BackYue extends Base
{
    protected $pk ='id';
    public function serverOrder()
    {
        return $this->belongsTo('ServerOrder','order_id','order_id');
    }
    public function user()
    {
        return $this->belongsTo('User','u_id','u_id');
    }
    public function backImg()
    {
        return $this->hasMany('BackImg','foreign_id','id');
    }
}